/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.yonsei.iwb.smarttv.util;

import java.util.Vector;

/**
 *
 * @author JDK
 */
public class UtilMethodSet {
    
    public static String getStringForIndex(Vector<String> v) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < v.size(); i++) {
            sb.append(v.get(i) + " ");
        }
        return sb.toString().trim();
    }
    
    public static String getConjunctionStringForIndex(Vector<String> v) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < v.size(); i++) {
            sb.append("+"+v.get(i) + " ");
        }
        return sb.toString().trim();
    }
    
    public static String getVariableCharacter(int num){        
        String variableName = "x"+num;        
        return variableName;
    }
}
